<template>
  <div>
    <Header/>
    <!--路由组件出口-->
    <router-view></router-view>
    <Footer v-show="$route.path =='/home' || $route.path =='/search' "/>
  </div>

</template>

<script>
// 引入 header
import Header from './components/Header'
import Footer from './components/Footer'

export default {
  name: 'app',
  components: {
    Header,
    Footer
  }
}
</script>

<style>

</style>
